package org.eenie.cartoonist.utils;

import com.orhanobut.logger.Logger;

import org.eenie.cartoonist.BuildConfig;

/**
 * Created by Eenie on 2016/8/15.
 *
 */

public class LogUtil {


    private static boolean debug = BuildConfig.DEBUG;



    public static void e(String msg) {
        if (debug) {
            Logger.e(msg);
        }
    }

    public static void json(String json) {
        if (debug) {
            Logger.json(json);
        }
    }
}
